<?php 
	require_once '../function.php';
	
	if (empty($_GET['id'])) {
		exit('<h1>参数传递错误</h1>');
	}

	$id = $_GET['id'];

	xiu_operation_db('delete from users where id = '.$id);

	header('Location: /admin/users.php');